<?php
$dbSettings = require 'db.php';
$config = array(
    //'配置项'=>'配置值'
    'DEFAULT_MODULE'    => 'Home', //默认模块
    'MODULE_ALLOW_LIST' => array('Home', 'Admin','Api'),
    'TMPL_L_DELIM'      => '<{', // 模板引擎普通标签开始标记
    'TMPL_R_DELIM'      => '}>', // 模板引擎普通标签结束标记
    'VAR_FILTERS' => 'strip_tags',
    'APP_GROUP_LIST'=>'',
    'DEFAULT_GROUP'=>'',
    'APP_DOMAIN' => 'dev.huashen.com',                                            //域名
    'APP_BASE_URI' => '/',                                                                         //根
    'APP_SITE_URI' => 'http://' . $_SERVER['SERVER_NAME'], //完整域名
    'LOG_RECORD' => true,                                                                        // 开启日志记录
    'LOG_LEVEL' => 'EMERG', 'ALERT', 'CRIT', 'ERR', 'WARN', 'NOTIC', 'DEBUG', 'SQL',     // 只记录EMERG ALERT CRIT ERR 错误
    'SESSION_OPTIONS' => array('expire' => 3600),
    'SHOW_RUN_TIME' => false,
    'SHOW_DB_TIMES' => false,
    'SHOW_CACHE_TIMES' => false,
    'SHOW_PAGE_TRACE' => false,
    'SHOW_ERROR_MSG' => false,
    'TRACE_EXCEPTION'=> false,
    'URL_HTML_SUFFIX' => 'html|shmtl|htm',
    'STREAM_ADDRESS'       =>  'http://182.92.167.132:1985',
    'DATA_CACHE_TYPE'       => 'Memcache',
    'DATA_CACHE_TIME'       => '3600',
    'SOCKET_SERVER_IP'       => '182.92.167.132',
    'SOCKET_SERVER_PORT'       => '9600',
    'APP_ID'=>'wx3f070a8ab33f6a92',
    'App_SECRET'=>'468d33db67af30735855aa269f393e4a',
    'WX_ID'=>'wx0784d04a9cf4f728',
    'WX_SECRET'=>'7e61e52f3f609a7f5c38adecd779f499',
    'TOKEN'=>'icesmart.cn'
);
return array_merge($config, $dbSettings);
